﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>欢迎进入网站管理平台</title>
    <meta name="author" content="http://design4u.cn,QQ:66383210,Email:caixfm@gmail.com" />
    <link href="/Content/css/css_login.css" rel="stylesheet" type="text/css"></link>
</head>
<body>
    <div id="wrap">
        <div id="main" class="clearfix">
            <div id="content">
                <%
                    using (Html.BeginForm("AdminLogin", "Home", FormMethod.Post, new {Class = "loginbar"}))
                    {%>
                <p>
                    <input type="submit" value="Login" id="submit" />
                </p>
                <ul>
                    <li>
                        <input name="AdminName" type="text" id="userName" value="" />
                    </li>
                    <li>
                        <input name="AdminPwd" type="password" id="pw" />
                    </li>
                </ul>
                <%
                        if (TempData["Error"] != null)
                        {%>
                <div class="errorTxt">
                    <span>失败：</span>帐号或密码输入错误，请重新输入</div>
                <%
                        }%>
                <%
                    }%>
            </div>
        </div>
    </div>
    <div id="footer">
        <div class="copyRight">
            <p>
            </p>
        </div>
    </div>
</body>
</html>
